<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');



////////////

class test_session extends CI_Controller {

	public function index()
	{
	 	$user_name = $this->session->userdata('user_name');	
		echo("Welcome ".$user_name.'</br>');
		$user_group =  $this->session->userdata('user_group');
		echo(" you belong to ".$user_group);
		
		
		$this->session->sess_destroy();
		echo("the session is now destroyed ");
	}
	
	
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */